const {getFitSize}=require('../lib/getFitSize');

const x={width:300,height:100};
console.log(getFitSize(x,{
    width:60,
    height:30
}));
console.log(getFitSize(x,{
    width:200,
    height:30
}));
console.log(getFitSize(x,{
    width:60
}));
console.log(getFitSize(x,{
    height:30
}));
console.log(getFitSize(x,{}));